import { GFormSchema } from './FormSchema';

export interface GFormProps {
  schema?: GFormSchema;
  schemaPath?: string;
  onSchemaLoaded?: (schema: GFormSchema) => void;
  onSubmitting?: (value: any, schema: GFormSchema) => void;
  onSubmitted?: (value: any, resp: any) => void;
  onDataLoading?: (schema: GFormSchema) => void;
  onDataLoaded?: (value: any) => any;
}
